package com.bxuan.mybatisplus.pojo;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
//@TableName("t_user")
public class User {

//    @TableId
//    private Long uid;
//    @TableId(value = "uid", type = IdType.AUTO)
//    private Long id;

    private Long id;

//    @TableField(value = "username")
//    private String name;

    private String name;

    private Integer sex;

    private Integer age;

    private String email;

    @TableLogic
    private String deleted;
}
